<script setup>
    import {useRouter,useRoute} from 'vue-router'
 
    const route=useRoute()
    console.log('接收传递的参数query===>',route.query);
    console.log('接收传递的参数params===>',route.params);
</script>
<template>
    <div>
 
        <h2>C2</h2>

    </div>
</template>
 